package com.sikaryofficial.backend.domain.dto.req.information;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sikaryofficial.common.core.web.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 品牌专栏-中心-文章分页列表请求入参
 *
 * @author qinjinyuan
 * @date 2024-04-10
 */
@Getter
@Setter
@ToString
@ApiModel(value = "品牌专栏-中心-文章分页列表请求入参", description = "品牌专栏-中心-文章分页列表请求入参")
public class ArticleBrandSpecialListReq extends PageDomain {

    @ApiModelProperty(value = "内容类型:0-动态 1-长文  2-短视频")
    @Max(value = 2, message = "contentType could not greater than 2")
    @Min(value = 0, message = "contentType could not less than 0")
    private Integer contentType;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 审核状态:0-草稿,1-审核中(点击发布),2-审核通过(发布成功),3-审核不通过
     * <p>
     * 默认是审核通过
     */
    @JsonIgnore
    private Integer auditStatus;

    @JsonIgnore
    private Integer tenantId;

    // 文件来源：1-爬虫 2-后台管理端 3-用户，默认为1
    @JsonIgnore
    private Integer source;

    @ApiModelProperty(value = "品牌编码")
    @NotBlank(message = "brandNo is empty")
    private String brandNo;
}
